package com.jack006.admin.controller;

import org.springframework.security.crypto.bcrypt.BCrypt;
/**
 * @Classname PwdTest
 * @Description 密码加密测试
 * @Date 2021-06-26 16:07
 * @Created by jack
 */
public class PwdTest {

    public static void main(String[] args) {
        String password = "123456";
        String hashpw = BCrypt.hashpw(password, BCrypt.gensalt());
        System.out.println(hashpw);
    }
}
